FROM docker.io/alpine:latest
MAINTAINER "zjs" <zjsonly@gmail.com>
RUN sed -i "s/http:\/\/dl-cdn.alpinelinux.org/http:\/\/mirrors.aliyun.com/g" /etc/apk/repositories
RUN apk -U upgrade && \
    apk update && \
    apk add --no-cache mariadb mariadb-client supervisor && \
    apk add --no-cache tzdata 
ADD entrypoint.sh entrypoint.sh
RUN chmod +x entrypoint.sh
#EXPOSE 3306
ENTRYPOINT ["./entrypoint.sh"] 
